package com.alameda.api.manage;

import com.alameda.commonpent.mp.BaseService;
import com.alameda.manage.dto.TechnicalIndicatorDTO;
import com.alameda.manage.pojo.TechnicalIndicatorDO;
import com.alameda.manage.vo.TechnicalIndicatorVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * 技术指标 业务逻辑层
 *
 * @author Lv
 * @date 2024/08/04
 */
public interface TechnicalIndicatorService extends BaseService<TechnicalIndicatorDO> {
    /**
     * 查询技术指标列表
     *
     * @param technicalIndicatorDTO 技术指标数据传递对象
     * @return
     */
    IPage<TechnicalIndicatorVO> loadTechnicalIndicator(TechnicalIndicatorDTO technicalIndicatorDTO);

    /**
     * 新增或修改技术指标
     *
     * @param technicalIndicatorDTO 技术指标数据传递对象
     * @return
     */
    Boolean saveOrUpdateTechnicalIndicator(TechnicalIndicatorDTO technicalIndicatorDTO);

    /**
     * 导出技术指标信息
     *
     * @param technicalIndicatorDTO 技术指标数据传递对象
     */
    void export(TechnicalIndicatorDTO technicalIndicatorDTO);

    /**
     * 通过项目id集合删除
     *
     * @param projectIdList id集合
     * @return
     */
    Boolean removeByProjectIdList(List<Long> projectIdList);
}
